package com.wanxi.chat.message.auth;

import com.wanxi.chat.dispatcher.Message;

/**
 * 用户认证请求
 */
public class AuthRequest implements Message {

    public static final String TYPE = "AUTH_REQUEST";

    /**
     * 认证 token 用户id
     */
    private String userId;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "AuthRequest{" +
                "userId='" + userId + '\'' +
                '}';
    }

}
